<?
require_once("lib/php/controller/RpcController.php");
require_once("ericdingle/php/Authentication.php");

abstract class AuthRpcController extends RpcController {
	public function __construct() {
		$auth = Authentication::getInstance();
		if (!$auth->isLoggedIn()) {
			echo "403: Forbidden";
			exit();
		}
	}
};
?>
